package cn.engage.org.mapper;

import cn.engage.basic.vo.ShopEchartsVo;
import cn.engage.org.domain.Shop;
import cn.engage.basic.mapper.BaseMapper;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author engage
 * @since 2022-10-15
 */
@Repository
public interface ShopMapper extends BaseMapper<Shop> {

    Shop findByName(String name);

    void batchAdd(List<Shop> shops);

    Shop findByIdOne(Long id);

    // 报表
    List<ShopEchartsVo> echarts();
}
